package practice002;

public class Nurse extends Person{

    String title;


    Nurse(String name,int age ,char gender,String title){

        super(name,age,gender);
        this.title = title;
    }

    void cut(){
        System.out.println(name+"正在做外科手术");
    }
    void show(){
        System.out.println("大家好,我是"+name+"我今年"+age+"岁了,"+"性别是:"+gender+",我的身份是"+title);
    }

}
